package org.cypress.rtpack.controller;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

@Controller
public class WebController {
    private static final Logger logger = LoggerFactory.getLogger(WebController.class);

    /**
     * api路由 - 转发到静态目录下的html
     */
    @GetMapping("/config")
    public String config() {
        return "forward:/config.html";
    }

}